package com.achf.siap.cs;

import com.achf.siap.cd.entidade.base.PagedList;
import java.util.List;

/**
 *
 * @author Aureliano
 */
public interface ICsBase<T> {

    public abstract void save(T entity);

    public abstract void delete(T entity);

    public abstract T load(Long id);

    public abstract T get(Long id);

    public abstract List<T> listAll();

    public abstract PagedList<T> listAll(int first, int max);

    public abstract List<T> findByExample(T entity);

    public abstract PagedList<T> findByExample(T entity, int first, int max);
}